package BookManage;
//用户表的封装
//此类为封装类，防止创建错误的实例。
abstract public class User {
    //自增主键
    private int userId;
    //姓名
    private String name;
    //密码
    private String password;
    //当前用户支持的操作
    IOperation[] operations;
    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
